package com.xlro.service;

import com.xlro.dao.RegisterDao;

public class RegisterService {
    private RegisterDao registerDao = new RegisterDao();

    public String insertOne(String reader, String username, String password) {
        int result = registerDao.insertOne(reader,username,password);
        return result>0?"注册成功":"注册失败";
    }
}
